package com.site.wisdom_construction.service.scheduleModule;

import com.site.wisdom_construction.dao.scheduleModule.FloorProgressDao;
import com.site.wisdom_construction.entity.scheduleModule.FloorProgress;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/11/2
 * @Description
 */
@Service
public class FloorProgressService implements FloorProgressDao {
    @Autowired
    private FloorProgressDao floorProgressDao;

    @Override
    public int insertFloorProgress(Map map) {
        return floorProgressDao.insertFloorProgress(map);
    }

    @Override
    public int updateFloorProgressByMap(Map map) {
        return floorProgressDao.updateFloorProgressByMap(map);
    }

    @Override
    public int updateFloorProgress(Map map) {
        return floorProgressDao.updateFloorProgress(map);
    }

    @Override
    public List<FloorProgress> findFloorProgress(Map map) {
        return floorProgressDao.findFloorProgress(map);
    }
}
